package com.nf.test;

public class Car {
    private String brand;
    private String factory;
    private  Float price;
    public Car(){}
public Car(String brand,String factory,Float price){
    this.brand=brand;
    this.factory=factory;
    this.price=price;

}
    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }
}
